	{foreach from=$users key=myId item=i name=userT}
		{if $smarty.foreach.userT.first}
			<table class="liste">
				<caption>Puan Durumu</caption>
				<tr>
					<th>Sira</th><th>Tahminci</th><th>Oyn</th><th>Puan</th>
				</tr>
			<tr class="aligncenter">
				<td class="odul">{$smarty.foreach.userT.iteration}</td>
				<td class="odul">
					{if $my_session->logged_in}
						<a href="games.php?action=userPredictions&userName={$i->username}">
					{/if}
					{$i->username}
					{if $my_session->logged_in}
						</a>
					{/if}					
				</td>
				<td class="odul">{$i->toplamTahmin}</td>	
				<td class="odul">{$i->pts}</td>		
			</tr>
		{else}
			<tr class="aligncenter">
				<td>{$smarty.foreach.userT.iteration}</td>
				<td>
					{if $my_session->logged_in}
						<a href="games.php?action=userPredictions&userName={$i->username}">
					{/if}				
					{$i->username}
					{if $my_session->logged_in}
						</a>
					{/if}							
				</td>
				<td>{$i->toplamTahmin}</td>	
				<td>{$i->pts}</td>		
			</tr>
		{/if}
		{if $smarty.foreach.userT.last}
			</table>
		{/if}
	{/foreach}